//
//  CTMediator+LoginCompoentActions.h
//  VPLoginComponentForPod
//
//  Created by verne on 2016/12/29.
//  Copyright © 2016年 vernepung. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "CTMediator.h"
#import "BaseViewController.h"

@interface CTMediator (LoginCompoentActions)
/**
 获取登录页面
 
 @param logo 登录页顶部Logo
 @param userName 上次保存的用户名
 @param uLeftIcon 用户名输入框左侧icon
 @param password 保存的密码
 @param pLeftIcon 密码输入框左侧icon
 @param showImage 显示密码的图片
 @param hideImage 隐藏密码的图片
 @param bgColor 登录按钮背景色
 @param clickedBlock 登录按钮点击事件
 @param titles 登录按钮下方的其他按钮title数组
 @param images 登录按钮下方的其他按钮的icon数组，若此按钮无需image则需传入@""和title下标对应
 @param executedCommandBlock 下方按钮点击响应
 @param copyright 底部版权文字信息
 @param copyrightColor 底部版权文字颜色
 @param copyrightFont 底部版权文字字体
 @return ViewContorller
 */
- (BaseViewController *)CTMediator_viewControllerForLoginWithAppLogo:(NSString *)logo
                                                         oldUserName:(NSString *)userName
                                                    userNameLeftIcon:(NSString *)uLeftIcon
                                                         oldPassword:(NSString *)password
                                                    passwordLeftIcon:(NSString *)pLeftIcon
                                                   showPasswordImage:(NSString *)showImage
                                                   hidePasswordImage:(NSString *)hideImage
                                          loginButtonBackgroundColor:(UIColor *)bgColor
                                                  loginButtonClicked:(NSString * (^)(NSDictionary * info))clickedBlock
                                                   commandTitleArray:(NSArray<NSString *> *)titles
                                                  commandImagesArray:(NSArray<NSString *> *)images
                                                           copyright:(NSString *)copyright
                                                  copyrightTextColor:(UIColor *)copyrightColor
                                                   copyrightTextFont:(UIFont *)copyrightFont
                                                executedCommandBlock:(void (^)(NSInteger index))executedCommandBlock;
@end
